package com.rem.chat.pojo.request;

import jakarta.validation.constraints.Size;
import lombok.Data;

import java.io.Serializable;

/**
 * @author: Themberfue
 * @date: 2025/6/7 20:05
 * @description:
 */
@Data
public class PageRequest implements Serializable {
    /**
     * 当前页
     */
    @Size(min = 1, message = "页数不能为负数")
    private Integer currentPage = 1;

    /**
     * 当前页数量
     */
    @Size(min = 1, message = "页数不能为负数")
    private Integer pageSize = 10;
}
